#ifndef _DriverNetwork_H_
#define _DriverNetwork_H_


#define FRAME_SEPARETOR '\r'


#define NETWORK_CHANNEL_HARD_USB    0x01
#define NETWORK_CHANNEL_HARD_UART1  0x02
#define NETWORK_CHANNEL_HARD_UART2  0x04
#define NETWORK_CHANNEL_HARD_UART6  0x08
#define NETWORK_CHANNEL_HARD_ALL    0xFF

#define NETWORK_CHANNEL_HARD_SOC    NETWORK_CHANNEL_HARD_UART1
#define NETWORK_CHANNEL_HARD_LOG    NETWORK_CHANNEL_HARD_UART2
#define NETWORK_CHANNEL_HARD_UPPER  NETWORK_CHANNEL_HARD_UART6


int8_t cNetWorkSendDatas(uint32_t uiChannel, void *pvBuff, int32_t iLength);


#endif
